package com.zpp.wedding_admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zpp.wedding_admin.entity.Banner;
import com.zpp.wedding_admin.entity.vo.IDs;
import com.zpp.wedding_admin.mapper.BannerMapper;
import com.zpp.wedding_admin.service.IBannerService;
import com.zpp.wedding_admin.utils.GetObjectClass;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 朱盼盼
 * @since 2022-12-29
 */
@Service
public class BannerServiceImpl extends ServiceImpl<BannerMapper, Banner> implements IBannerService {

    @Autowired
    private BannerMapper bannerMapper;

    @Override
    public boolean deleteAllSelect(Integer iDs[]) {
        return bannerMapper.deleteAllSelect(iDs);
    }
}
